﻿#include "EventRecordInfo.h"

EventRecordInfo::EventRecordInfo()
	: m_eventType(0)
	, m_image(0)
	, m_size(0)
	, m_duration(0)
	, m_upload(0)
{
}

EventRecordInfo::~EventRecordInfo()
{
}

std::string EventRecordInfo::GetId()
{
	return m_id;
}

void EventRecordInfo::SetId(std::string id)
{
	m_id = id;
}

std::string EventRecordInfo::GetDeviceId()
{
	return m_deviceId;
}

void EventRecordInfo::SetDeviceId(std::string device)
{
	m_deviceId = device;
}

std::string EventRecordInfo::GetDeviceName()
{
	return m_deviceName;
}

void EventRecordInfo::SetDeviceName(std::string deviceName)
{
	m_deviceName = deviceName;
}

std::string EventRecordInfo::GetEventId()
{
	return m_eventId;
}

void EventRecordInfo::SetEventId(std::string eventId)
{
	m_eventId = eventId;
}

int EventRecordInfo::GetEventType()
{
	return m_eventType;
}

void EventRecordInfo::SetEventType(int type)
{
	m_eventType = type;
}

int EventRecordInfo::GetImage()
{
	return m_image;
}

void EventRecordInfo::SetImage(int image)
{
	m_image = image;
}

DateTime EventRecordInfo::GetStartTime()
{
	return m_startTime;
}

void EventRecordInfo::SetStartTime(DateTime& time)
{
	m_startTime = time;
}

DateTime EventRecordInfo::GetStopTime()
{
	return m_stopTime;
}

void EventRecordInfo::SetStopTime(DateTime& time)
{
	m_stopTime = time;
}

std::string EventRecordInfo::GetName()
{
	return m_name;
}

void EventRecordInfo::SetName(std::string name)
{
	m_name = name;
}

int EventRecordInfo::GetSize()
{
	return m_size;
}

void EventRecordInfo::SetSize(int size)
{
	m_size = size;
}

int EventRecordInfo::GetDuration()
{
	return m_duration;
}

void EventRecordInfo::SetDuration(int duration)
{
	m_duration = duration;
}

std::string EventRecordInfo::GetPath()
{
	return m_path;
}

void EventRecordInfo::SetPath(std::string path)
{
	m_path = path;
}

std::string EventRecordInfo::GetUrl()
{
	return m_url;
}

void EventRecordInfo::SetUrl(std::string url)
{
	m_url = url;
}

DateTime EventRecordInfo::GetCreateTime()
{
	return m_createTime;
}

void EventRecordInfo::SetCreateTime(DateTime time)
{
	m_createTime = time;
}

int EventRecordInfo::GetUpload()
{
	return m_upload;
}

void EventRecordInfo::SetUpload(int upload)
{
	m_upload = upload;
}

DateTime EventRecordInfo::GetUploadTime()
{
	return m_uploadTime;
}

void EventRecordInfo::SetUploadTime(DateTime& time)
{
	m_uploadTime = time;
}